//定制请求的实例

import axios from 'axios';

const baseURL = '/api';
const instance = axios.create(
    {
        baseURL: "/api",
        headers: {
            "Host": "www.6002255.com",
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0",
            "Accept": "application/json, text/javascript, */*; q=0.01",
            "Accept-Language": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2",
            "Accept-Encoding": "gzip, deflate",
            "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
            "X-Requested-With": "XMLHttpRequest",
            "Content-Length": "65",
            "Origin": "http://www.6002255.com",
            "Connection": "keep-alive",
            "Referer": "http://www.6002255.com/?name=%E5%91%A8%E6%9D%B0%E4%BC%A6&type=netease",
            "Cookie": "UM_distinctid=18f2348ae46dc5-0a950d42bda5da8-e565623-1fa400-18f2348ae471776; CNZZDATA1279348389=1232170521-1714283917-%7C1714283917"
        }

    }
)

export default instance;